The whole message looks something like:
Setting up LVM Volume Groups...
Reading all physical volumes. This may take a while...
|
|
followed by lot of kernel messages.
Well, that's the problem: lvscan, to find all the
phyisical volumes, will just scan the first few
sectors of every device on the system.
If you happen to have something particularly slow,
lot of devices, or ... you are an aficionado of
devfs (which will probe modules as pvscan tries to
find those volumes), you will want to change
/etc/lvm.conf.
Just add something like:
filter = [ "a|/dev/md*|", "a|/dev/sd*|" ]
|
|
in that file, to tell pvscan to search only in
/dev/md* and /dev/sd*